#ifndef _FS_
#define _FS_

#pragma once
/* pcm */
typedef struct electricity{
    char record_time[100];
    double amount;
    double price;
    double fee;
}ely;

typedef struct water{
    char record_time[100];
    double amount;
    double price;
    double fee;
}watr;
/* pcm */


/* osm */
typedef struct chair{
    char id[100];
    char model[100];
    double price;
    char register_time[100];
    int state;
    char recycle_time[100];
    double recycle_price;
}chr;

typedef struct desk{
    char id[100];
    char model[100];
    double price;
    char register_time[100];
    int state;
    char recycle_time[100];
    double recycle_price;
}dek;
/* osm */


/* edm */
typedef struct printer{
    char id[100];
    char model[100];
    char register_time[100];
    double price;
    int state;
    char recycle_time[100];
    double recycle_price; /* Change char to double */
}prr;

typedef struct computer{
    char id[100];
    char model[100];
    char register_time[100]; /* Change to arrary */
    double price;
    int state;
    char recycle_time[100]; /* Change to arrary */
    double recycle_price; /* Change char to double */
}cor;
/* edm */


/* ssm */
typedef struct unfixed_month_sy{
    char id[100];
    char ymd[100];
    double performance;
    double bonus;
    double total;
}ums;

typedef struct salary{
    struct unfixed_month_sy unsy;
    double minimum;
    double fixed;
}say;
/* ssm */

void finance_system_start();
void staff_salary_manager();
void show_salary(struct salary slry);
void compu_salary_performance(struct salary &slry);
void compu_salary(struct salary slry);
void get_performance(struct salary &slry);
void input_bonus(struct salary &slry);
void input_minimum_fixed(struct salary &slry);
void fixed_assets_manager();
void electronic_devices_manager();
void show_printer(struct printer pinr);
void printer_recycle(struct printer pinr);
void printer_register(struct printer pinr);
void show_computer(struct computer cmpr);
void computer_recycle(struct computer cmpr);
void computer_register(struct computer cmpr);
void office_supplies_manager();
void show_chair(struct chair cr);
void chair_recycle(struct chair cr);
void chair_register(struct chair cr);
void show_desk(struct desk dk);
void desk_recycle(struct desk dk);
void desk_register(struct desk dk);
void production_cost_manager();
void show_electricity(struct electricity elty);
void record_electricity(struct electricity elty);
void show_water(struct water wr);
void record_water(struct water wr);



#endif